package com.yangsir.mysite.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yangsir.mysite.Dto.CommentDto;
import com.yangsir.mysite.common.R;
import com.yangsir.mysite.pojo.Comment;

import java.util.List;

/**
* @author yf
* @description 针对表【comment(文章的评论)】的数据库操作Service
* @createDate 2024-06-22 16:55:16
*/
public interface CommentService extends IService<Comment> {

    R<String> saveComment(Comment comment);

    R<List<CommentDto>> getComment(Long id);
}
